Dataset Title: Do Presidents Favor Co-Partisan Mayors in the Allocation of Federal Grants?

This folder comprises the replication datasets and codes for "Do Presidents Favor Co-Partisan Mayors in the Allocation of Federal Grants?" 
by Heonuk Ha and Jeffery A. Jenkins. The manuscript has been accepted for publication in Political Science Research and Methods.

Please cite this paper when utilizing the data or any portion thereof.

The replication packet encompasses four data files, two Stata codes, and one R code, facilitating the replication of 
all tables and figures presented in both the main paper and the online supplemental materials.


There are four datafiles and three codes for replications.

The files are as follows:

1. PSRM_fed_grant_city_FY2005_2021_analysis.dta: This primary dataset contains variables for federal grants awarded to cities, 
the partisanship of the president, governors, and mayors, as well as control variables from 2005 to 2020.


2. PSRM_fed_grant_city_FY2005_2021_desc1.dta: This dataset comprises variables detailing federal grants to cities at the agency level. 

3. PSRM_fed_grant_city_FY2005_2021_desc2.dta: This dataset encompasses variables describing federal grants to cities at the city level.

4. PSRM_city_list_map.csv: This dataset includes information on the geographic locations and populations of the cities. 

5. PSRM_federal_grant_city_descstat.do: This Stata dofile is used to generate the descriptive statistics for  
Figure 1, Figure 2, Figure 3, Figure A.2, Figure A.3, Figure A.4, Figure A.5, Table B.1, Table B.2, and Table B.3.

6. PSRM_federal_grant_city_analysis.do: This Stata script is employed to perform the analyses for
Table 1, Table 2, Table B.4, Table B.5, Table B.6, Table B.7, Table B.8.

7. PSRM_local_map.R: This R script is designed to produce the map for Figure A.1.



For inquiries regarding the dataset, please contact Heonuk Ha at heonukha@usc.edu or Jeffery A. Jenkins at jenkinja@usc.edu.
